<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <div id="test">
    <p v-text="content">原本内容</p>
    <p v-html="content">原本内容</p>
  </div>

  <script src="../js/vue.js"></script>
  <script>
    new Vue({
      el: "#test",
      data: {
        content:'<a href="http:/www.baidu.com">去百度</a>'
      }
    })
  </script>
</body>
</html>